package cn.chencaiju.day09.oop;

public class MyPair<K,V> {
	private K e;
	private V v;
	public MyPair(K e, V v) {
		super();
		this.e = e;
		this.v = v;
	}
	public MyPair() {
		super();
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("MyPair [e=");
		builder.append(e);
		builder.append(", v=");
		builder.append(v);
		builder.append("]");
		return builder.toString();
	}
	public K getE() {
		return e;
	}
	public void setE(K e) {
		this.e = e;
	}
	public V getV() {
		return v;
	}
	public void setV(V v) {
		this.v = v;
	}
	
}
